package com.jiezhuo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 定时任务执行情况记录表
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="QuartzTaskRecords对象", description="定时任务执行情况记录表")
public class QuartzTaskRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "任务编号")
    @TableField("taskNo")
    private String taskno;

    @ApiModelProperty(value = "执行时间格式值")
    @TableField("timeKeyValue")
    private String timekeyvalue;

    @ApiModelProperty(value = "执行时间")
    @TableField("executeTime")
    private Long executetime;

    @ApiModelProperty(value = "任务状态")
    @TableField("taskStatus")
    private String taskstatus;

    @ApiModelProperty(value = "失败统计数")
    private Integer failcount;

    @ApiModelProperty(value = "失败错误描述")
    @TableField("failReason")
    private String failreason;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private Long createtime;

    @ApiModelProperty(value = "最近修改时间")
    @TableField("lastModifyTime")
    private Long lastmodifytime;


}
